/*
* @Author: Marte
* @Date:   2017-11-13 14:25:32
* @Last Modified by:   Marte
* @Last Modified time: 2018-01-22 11:59:59
*/
$(function(){
    layui.use(['jquery','form','layer','laypage','element'], function(){
       var $ = layui.jquery,
        form= layui.form(),
        layer = layui.layer,
        element = layui.element();

    $(".left-1").on("click",  function() {
          layer.open({
            type:2
            ,fix: false
        /*   , closeBtn:0*/
            ,shade:[0.1, '#fff'] //遮罩透明度
            ,area:['355px', '300px']
         ,title:['角色添加','font-weight:600;text-align:center;font-size:16px;border-radius:10px;']
            ,content: 'add-role.html'
        });
      });
                });
              });
